bnjmn.

about netlify redirects

2025-03-19

#microposts

idk how come i never came across this before but apparently you need a netlify.toml file to specify redirects for SPAs (in my case, Tanstack Router):

[[redirects]]
  from = "/*"
  to = "/index.html"
  status = 200